package com.yunduansing.core.service;

import java.util.List;

import com.yunduansing.core.model.RoleMenuModel;
import com.yunduansing.core.model.RoleModel;
import com.yunduansing.core.utils.ResultUtil;

public interface RoleService extends BaseService<RoleModel> {
	ResultUtil setRoleMenuWithButtons(List<RoleMenuModel> list);
	ResultUtil saveRoleAndRoleMenuButtons(RoleModel model,List<RoleMenuModel> list);
	String getButtonCodeByMenuUrl(List<Integer> roleIds,String menuUrl);
	List<RoleModel> getAll();
}
